package com.tcm.im.dao.mapper;


import com.tcm.im.entity.ImOnline;
import org.apache.ibatis.annotations.Param;

public interface ImOnlineMapper {
    int deleteByChatId(Long chatId);

    int insert(ImOnline record);

    ImOnline selectByChatId(Long chatId);

    ImOnline selectOnline(@Param("fromId") Long fromId, @Param("toId") Long toId);

    int update(ImOnline record);

}